package com.tongqin.distributed;

import com.alibaba.dubbo.config.annotation.Service;
import com.tongqin.distributed.api.IHello;
import org.springframework.stereotype.Component;

/**
 * @author yuantongqin
 * @date 2018/8/29 下午3:10
 */
@Component
@Service(interfaceClass = IHello.class)
public class Hello implements IHello {


    @Override
    public String sayHello(String str) {
        return "change 想说："+str;
    }
}
